package com.yh.doing.Mediator;

/**
 * @program: design-patterns
 * @description: ${description}
 * @author: yangh0597@163.com
 * @date: 2021-03-11 00:09
 * @problem:
 **/
public  abstract class Colleague {

    protected Mediator mediator;

    public Colleague(Mediator mediator) {
        this.mediator = mediator;
    }


    public abstract void add(String str);


    public abstract void mediatorExecutor(String str);
}
